export interface CrudPaginatedRes<T> {
  data: T[];
  count: number;
  total: number;
  page: number;
  pageCount: number;
}

export function getDefaultCrudPaginatedRes<T> (): CrudPaginatedRes<T> {
  return {
    data: [],
    count: 0,
    total: 0,
    page: 0,
    pageCount: 0
  }
}
